<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统管理</title>
    <script src="../bootstrap/js/jquery-3.2.1.min.js"></script>
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
    <script src="../bootstrap/js/bootstrap.min.js"></script>
    <script>
        function del(){
            var res = confirm('确认要删除吗？');
            if(res == true)
            {
               return true;
            }else{
                return false;
            }
        }
    </script>
</head>
<body>
<div style="height:75px;line-height:75px;font-size:25px;vertical-align: middle;text-align: center" class="bg-primary">柚子书屋系统管理</div>

<div class="row" style="padding:10px 10px">

    <!-- 左导航栏 -->
    <%@include file="../nav.jsp" %>

    <div class="col-md-10" style="padding-top:10px">

        <!-- 查询块 -->
        <div class="search" >
            <form class="form-inline" name="myForm" action="/BookServlet?method=searchbyId" method="post">
                <input type="text" class="form-control" name="find" value=""/>
                <input type="submit" class="btn btn-primary" value="查   询" />&nbsp;&nbsp;
                <input type="button" class="btn btn-danger" value="增   加" onclick="javascript:window.location='/book/add.jsp'"/>
            </form>
        </div>
        <!-- 图书信息显示-->
        <div style="padding-top:10px;">
            <table class="table table-bordered table-hover" style="text-align:center;">
                <tr>
                    <th>图书ID</th>
                    <th>名称</th>
                    <th>作者</th>
                    <th>出版社</th>
                    <th>价格</th>
                    <th>图片</th>
                    <th>折扣</th>

                </tr>
                <th>${book.book_id}</th>
                <th>${book.name}</th>
                <th>${book.author}</th>
                <th>${book.publisher}</th>
                <th>${book.price}</th>
                <th>${book.url}</th>
                <th>${book.discount}</th>
                </tr>
            </table>
        </div>
    </div>
</div>
</body>
</html>